package com.wondream.myframework.heima_concurrent;

/**
 * 第二种创建线程的方法-实现Runnable接口 lamda写法
 */
public class _003_Thread_Implements_Runnable {
    public static void main(String[] args) {
        Runnable var1 = () -> System.out.println("第二种创建线程的方法-实现Runnable接口 lamda写法");
        Thread var2 = new Thread(var1, "thread1");
        var2.start();
    }
}
